package inet.db.tennis;

import java.math.BigDecimal;
import java.sql.Timestamp;

public class TennisMatch {
	public static int PLAYER1_SERVE = 1;
	public static int PLAYER2_SERVE = 2;
	private BigDecimal id;
	private BigDecimal firstPlayerId;
	private BigDecimal secondPlayerId;
	private String round;
	private Timestamp matchDate;
	private BigDecimal mapMatchId;
	private int status;
	private int isFinal;
	private int isMatchInv; // 1 = Trận đấu điều kiện, 0 = Trận đấu bình thường (Trận đấu điều kiện được tạo ra khi 1 tay vợt đc miễn 1 vòng đấu vào thẳng vòng sau đó) 
	private int currentSet;
	private int totalSet;
	private BigDecimal seasonId;
	private String championCode;
	private BigDecimal phaseId;
	private int currentPlayerServe;
	private int firstScore;
	private int secondScore;
	private int firstSet1Score;
	private int secondSet1Score;
	private int firstSet2Score;
	private int secondSet2Score;
	private int firstSet3Score;
	private int secondSet3Score;
	private int firstSet4Score;
	private int secondSet4Score;
	private int firstSet5Score;
	private int secondSet5Score;
	
	private int firstTieBreakSet1Score;
	private int secondTieBreakSet1Score;
	private int firstTieBreakSet2Score;
	private int secondTieBreakSet2Score;
	private int firstTieBreakSet3Score;
	private int secondTieBreakSet3Score;
	private int firstTieBreakSet4Score;
	private int secondTieBreakSet4Score;
	private int firstTieBreakSet5Score;
	private int secondTieBreakSet5Score;
	
	private int timeSet1;
	private int timeSet2;
	private int timeSet3;
	private int timeSet4;
	private int timeSet5;
	private int stt;
	
	private String championName;
	private String championCodeSMS;
	private String currentGamePoint1; // Điểm trong game đấu hiện tại của player 1
	private String currentGamePoint2; // Điểm trong game đấu hiện tại của player 2
	private BigDecimal currentGameId; // Id game đấu hiện tại
	
	private BigDecimal set1Id;
	private BigDecimal set2Id;
	private BigDecimal set3Id;
	private BigDecimal set4Id;
	private BigDecimal set5Id;
	
	public BigDecimal getId() {
		return id;
	}
	public void setId(BigDecimal id) {
		this.id = id;
	}
	public BigDecimal getFirstPlayerId() {
		return firstPlayerId;
	}
	public void setFirstPlayerId(BigDecimal firstPlayerId) {
		this.firstPlayerId = firstPlayerId;
	}
	public BigDecimal getSecondPlayerId() {
		return secondPlayerId;
	}
	public void setSecondPlayerId(BigDecimal secondPlayerId) {
		this.secondPlayerId = secondPlayerId;
	}
	public String getRound() {
		return round;
	}
	public void setRound(String round) {
		this.round = round;
	}
	public Timestamp getMatchDate() {
		return matchDate;
	}
	public void setMatchDate(Timestamp matchDate) {
		this.matchDate = matchDate;
	}
	public BigDecimal getMapMatchId() {
		return mapMatchId;
	}
	public void setMapMatchId(BigDecimal mapMatchId) {
		this.mapMatchId = mapMatchId;
	}
	public int getStatus() {
		return status;
	}
	public void setStatus(int status) {
		this.status = status;
	}
	public int getIsFinal() {
		return isFinal;
	}
	public void setIsFinal(int isFinal) {
		this.isFinal = isFinal;
	}
	public int getCurrentSet() {
		return currentSet;
	}
	public void setCurrentSet(int currentSet) {
		this.currentSet = currentSet;
	}
	public int getTotalSet() {
		return totalSet;
	}
	public void setTotalSet(int totalSet) {
		this.totalSet = totalSet;
	}
	public BigDecimal getSeasonId() {
		return seasonId;
	}
	public void setSeasonId(BigDecimal seasonId) {
		this.seasonId = seasonId;
	}
	public String getChampionCode() {
		return championCode;
	}
	public void setChampionCode(String championCode) {
		this.championCode = championCode;
	}
	public BigDecimal getPhaseId() {
		return phaseId;
	}
	public void setPhaseId(BigDecimal phaseId) {
		this.phaseId = phaseId;
	}
	public int getFirstScore() {
		return firstScore;
	}
	public void setFirstScore(int firstScore) {
		this.firstScore = firstScore;
	}
	public int getSecondScore() {
		return secondScore;
	}
	public void setSecondScore(int secondScore) {
		this.secondScore = secondScore;
	}
	public int getFirstSet1Score() {
		return firstSet1Score;
	}
	public void setFirstSet1Score(int firstSet1Score) {
		this.firstSet1Score = firstSet1Score;
	}
	public int getSecondSet1Score() {
		return secondSet1Score;
	}
	public void setSecondSet1Score(int secondSet1Score) {
		this.secondSet1Score = secondSet1Score;
	}
	public int getFirstSet2Score() {
		return firstSet2Score;
	}
	public void setFirstSet2Score(int firstSet2Score) {
		this.firstSet2Score = firstSet2Score;
	}
	public int getSecondSet2Score() {
		return secondSet2Score;
	}
	public void setSecondSet2Score(int secondSet2Score) {
		this.secondSet2Score = secondSet2Score;
	}
	public int getFirstSet3Score() {
		return firstSet3Score;
	}
	public void setFirstSet3Score(int firstSet3Score) {
		this.firstSet3Score = firstSet3Score;
	}
	public int getSecondSet3Score() {
		return secondSet3Score;
	}
	public void setSecondSet3Score(int secondSet3Score) {
		this.secondSet3Score = secondSet3Score;
	}
	public int getFirstSet4Score() {
		return firstSet4Score;
	}
	public void setFirstSet4Score(int firstSet4Score) {
		this.firstSet4Score = firstSet4Score;
	}
	public int getSecondSet4Score() {
		return secondSet4Score;
	}
	public void setSecondSet4Score(int secondSet4Score) {
		this.secondSet4Score = secondSet4Score;
	}
	public int getFirstSet5Score() {
		return firstSet5Score;
	}
	public void setFirstSet5Score(int firstSet5Score) {
		this.firstSet5Score = firstSet5Score;
	}
	public int getSecondSet5Score() {
		return secondSet5Score;
	}
	public void setSecondSet5Score(int secondSet5Score) {
		this.secondSet5Score = secondSet5Score;
	}
	public int getFirstTieBreakSet1Score() {
		return firstTieBreakSet1Score;
	}
	public void setFirstTieBreakSet1Score(int firstTieBreakSet1Score) {
		this.firstTieBreakSet1Score = firstTieBreakSet1Score;
	}
	public int getSecondTieBreakSet1Score() {
		return secondTieBreakSet1Score;
	}
	public void setSecondTieBreakSet1Score(int secondTieBreakSet1Score) {
		this.secondTieBreakSet1Score = secondTieBreakSet1Score;
	}
	public int getFirstTieBreakSet2Score() {
		return firstTieBreakSet2Score;
	}
	public void setFirstTieBreakSet2Score(int firstTieBreakSet2Score) {
		this.firstTieBreakSet2Score = firstTieBreakSet2Score;
	}
	public int getSecondTieBreakSet2Score() {
		return secondTieBreakSet2Score;
	}
	public void setSecondTieBreakSet2Score(int secondTieBreakSet2Score) {
		this.secondTieBreakSet2Score = secondTieBreakSet2Score;
	}
	public int getFirstTieBreakSet3Score() {
		return firstTieBreakSet3Score;
	}
	public void setFirstTieBreakSet3Score(int firstTieBreakSet3Score) {
		this.firstTieBreakSet3Score = firstTieBreakSet3Score;
	}
	public int getSecondTieBreakSet3Score() {
		return secondTieBreakSet3Score;
	}
	public void setSecondTieBreakSet3Score(int secondTieBreakSet3Score) {
		this.secondTieBreakSet3Score = secondTieBreakSet3Score;
	}
	public int getFirstTieBreakSet4Score() {
		return firstTieBreakSet4Score;
	}
	public void setFirstTieBreakSet4Score(int firstTieBreakSet4Score) {
		this.firstTieBreakSet4Score = firstTieBreakSet4Score;
	}
	public int getSecondTieBreakSet4Score() {
		return secondTieBreakSet4Score;
	}
	public void setSecondTieBreakSet4Score(int secondTieBreakSet4Score) {
		this.secondTieBreakSet4Score = secondTieBreakSet4Score;
	}
	public int getFirstTieBreakSet5Score() {
		return firstTieBreakSet5Score;
	}
	public void setFirstTieBreakSet5Score(int firstTieBreakSet5Score) {
		this.firstTieBreakSet5Score = firstTieBreakSet5Score;
	}
	public int getSecondTieBreakSet5Score() {
		return secondTieBreakSet5Score;
	}
	public void setSecondTieBreakSet5Score(int secondTieBreakSet5Score) {
		this.secondTieBreakSet5Score = secondTieBreakSet5Score;
	}
	public int getTimeSet1() {
		return timeSet1;
	}
	public void setTimeSet1(int timeSet1) {
		this.timeSet1 = timeSet1;
	}
	public int getTimeSet2() {
		return timeSet2;
	}
	public void setTimeSet2(int timeSet2) {
		this.timeSet2 = timeSet2;
	}
	public int getTimeSet3() {
		return timeSet3;
	}
	public void setTimeSet3(int timeSet3) {
		this.timeSet3 = timeSet3;
	}
	public int getTimeSet4() {
		return timeSet4;
	}
	public void setTimeSet4(int timeSet4) {
		this.timeSet4 = timeSet4;
	}
	public int getTimeSet5() {
		return timeSet5;
	}
	public void setTimeSet5(int timeSet5) {
		this.timeSet5 = timeSet5;
	}
	public String getChampionName() {
		return championName;
	}
	public void setChampionName(String championName) {
		this.championName = championName;
	}
	public String getChampionCodeSMS() {
		return championCodeSMS;
	}
	public void setChampionCodeSMS(String championCodeSMS) {
		this.championCodeSMS = championCodeSMS;
	}
	public int getStt() {
		return stt;
	}
	public void setStt(int stt) {
		this.stt = stt;
	}
	public int getIsMatchInv() {
		return isMatchInv;
	}
	public void setIsMatchInv(int isMatchInv) {
		this.isMatchInv = isMatchInv;
	}
	public void setCurrentPlayerServe(int currentPlayerServe) {
		this.currentPlayerServe = currentPlayerServe;
	}
	public int getCurrentPlayerServe() {
		return currentPlayerServe;
	}
	public String getCurrentGamePoint1() {
		return currentGamePoint1;
	}
	public void setCurrentGamePoint1(String currentGamePoint1) {
		this.currentGamePoint1 = currentGamePoint1;
	}
	public String getCurrentGamePoint2() {
		return currentGamePoint2;
	}
	public void setCurrentGamePoint2(String currentGamePoint2) {
		this.currentGamePoint2 = currentGamePoint2;
	}
	public BigDecimal getCurrentGameId() {
		return currentGameId;
	}
	public void setCurrentGameId(BigDecimal currentGameId) {
		this.currentGameId = currentGameId;
	}
	public BigDecimal getSet1Id() {
		return set1Id;
	}
	public void setSet1Id(BigDecimal set1Id) {
		this.set1Id = set1Id;
	}
	public BigDecimal getSet2Id() {
		return set2Id;
	}
	public void setSet2Id(BigDecimal set2Id) {
		this.set2Id = set2Id;
	}
	public BigDecimal getSet3Id() {
		return set3Id;
	}
	public void setSet3Id(BigDecimal set3Id) {
		this.set3Id = set3Id;
	}
	public BigDecimal getSet4Id() {
		return set4Id;
	}
	public void setSet4Id(BigDecimal set4Id) {
		this.set4Id = set4Id;
	}
	public BigDecimal getSet5Id() {
		return set5Id;
	}
	public void setSet5Id(BigDecimal set5Id) {
		this.set5Id = set5Id;
	}
}
